package org.jeecg.modules.wms.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 领料执行VO对象
 */
@Data
@ApiModel(value = "领料执行VO对象", description = "用于执行领料操作")
public class WmsRequisitionExecuteVO implements Serializable {
    
    private static final long serialVersionUID = 1L;
    
    @ApiModelProperty(value = "领料单ID")
    private String requisitionId;
    
    @ApiModelProperty(value = "型材明细执行列表")
    private List<ProfileExecuteItem> profiles;
    
    @ApiModelProperty(value = "配件明细执行列表")
    private List<AccessoryExecuteItem> accessories;
    
    @Data
    public static class ProfileExecuteItem {
        @ApiModelProperty(value = "明细ID")
        private String id;
        
        @ApiModelProperty(value = "实际领料数量")
        private Integer actualQuantity;
    }
    
    @Data
    public static class AccessoryExecuteItem {
        @ApiModelProperty(value = "明细ID")
        private String id;
        
        @ApiModelProperty(value = "实际领料数量")
        private Integer actualQuantity;
    }
} 